/*
 * @Author: Wangtao
 * @Date: 2022-07-26 14:21:14
 * @LastEditors: Wangtao
 * @LastEditTime: 2022-07-26 15:15:19
 */
import { App } from 'vue'
import { name } from './interface'
import Skeleton from './skeleton'
import SkeletonItem from './skeleton-item'
import './style/index.styl'

export default {
  install (app: App) {
    app.directive(name, Skeleton)
    app.directive(`${name}-item`, SkeletonItem)
  }
}
